//
//  YTMineInfoCell.m
//  CllForIOS
//
//  Created by qiyun on 2018/3/19.
//  Copyright © 2018年 aRui. All rights reserved.
//

#import "YTMineInfoCell.h"

@interface YTMineInfoCell ()

@end
@implementation YTMineInfoCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self makeUI];
    }
    return self;
}

- (void)makeUI{
    UILabel *title =[[UILabel alloc]init];
    title.textColor=[UIColor blackColor];
    title.font=KFONT(14);
    title.text=@"设置账号:";
    [self.contentView addSubview:title];
    self.title = title;
    //
    UILabel *destitle =[[UILabel alloc]init];
    destitle.textColor=[UIColor blackColor];
    destitle.font=KFONT(14);
    destitle.text=@"啦啦啦啦";
    [self.contentView addSubview:destitle];
    self.destitle = destitle;
}
-(void)layoutSubviews{
    [super layoutSubviews];
    
    self.title.frame=CGRectMake(31, AfW(33), 65, 15);
    CGPoint titlecenter= self.title.center;
    titlecenter.y=self.contentView.frame.size.height/2;
    self.title.center=titlecenter;
    
    self.destitle.frame=CGRectMake(CGRectGetMaxX(self.title.frame)+10, AfW(33), SCREEN_W-CGRectGetMaxX(self.title.frame)-10, 15);
    CGPoint center= self.destitle.center;
    center.y=self.contentView.frame.size.height/2;
    self.destitle.center=center;
    
}


@end
